package com.pig4cloud.pig.village.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 困难人群
 * @author Will Hu
 * @date 2022.3.26
 */
@Getter
public enum HardGroup {
	SUBSISTENCE_ALLOWANCE(0, "低保"),
	DISABLED_UNEMPLOYMENT(1, "重残无业"),
	MULTI_DISABLED(2, "一户多残"),
	DISABLED(3, "残疾人"),
	FIVE_GUARANTEES(4, "五保户"),
	LOW_INCOME(5, "低收入");

	HardGroup(int code, String description) {
		this.code = code;
		this.description = description;
	}

	@EnumValue
	@JsonValue
	private final int code;
	private final String description;
}